<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1" />
    <title>Document</title>
    <link rel="stylesheet" href="../../css/1.css">
    <script>
      document.documentElement.style.fontSize = window.innerWidth/10 + "px";
    </script>
  </head>
  <body>
    <!-- <button class="btn1">点击显示</button> -->
    <my-com></my-com>
    <script type="module">
      import Dialog from "./dialog.js";
      // let d = new Dialog({
      //   isDrag: true,
      //   confirm(e) {
      //     console.log("diaoyong confirm", e.detail);
      //   },
      // });
      // document.querySelector(".btn1").onclick = function () {
      //   d.open();
      // };
    </script>
  </body>
</html>
